
import { request } from "./request"
// 获取歌曲详情
export function getSongDetial(ids){
    return request({
        url: '/song/detail',
        withCredentials: true,
        params: {
            ids
        }
    })
}
//获取音乐url
export function playSong(id){
    return request({
        url: '/song/url',
        withCredentials: true,
        params:{
            id,
            
        }
    })
}
//音乐是否可用
export function check_music(id){
    return request({
        url:'/check/music',
        withCredentials: true,
        params:{
            id,
        }
    })
}